package com.idea.tianmimi;

import android.app.Activity;
import android.media.AudioManager;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

public abstract class BaseActivity extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setVolumeControlStream(AudioManager.STREAM_SYSTEM);

		requestWindowFeature(Window.FEATURE_NO_TITLE);
		
		preContentView();
		
		initView();
		
		initDate();
	}
	
	
	protected abstract void preContentView();
	
	protected abstract void initView();
	
	protected abstract void initDate();


	protected void preCurrentView() {
		// TODO Auto-generated method stub
		
	}
	
	

}
